package com.yingsheng.bi.hks.dto.employee;

import com.yingsheng.bi.hks.bo.WorkExperience;
import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * 新增阿姨简历
 */
@ApiModel(value = "阿姨简历添加请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class ResumeAddReq extends HksTransReq {

    @ApiModelProperty(value = "求职意向",required = true)
    @NotBlank
    private String position;

    @ApiModelProperty(value = "当前工作状态")
    private String workStatus;

    @ApiModelProperty(value = "工作年限")
    private String workingYears;

    @ApiModelProperty(value = "身份证图片")
    private String idCardImg;

    @ApiModelProperty(value = "身份证",required = true)
    @NotBlank
    private String idCard;

    @ApiModelProperty(value = "姓名",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "生活照")
    private String lifePhotos;

    @ApiModelProperty(value = "资质证书")
    private String certificate;

    @ApiModelProperty(value = "擅长工作内容")
    private String description;

    @ApiModelProperty(value = "工作时间")
    private String workTime;

    @ApiModelProperty(value = "居住地")
    private String address;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "工作经历")
    private List<WorkExperience> workExperiences;
}
